package com.bdqn.boot.yuanshen.config;

import io.minio.MinioClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Hasee
 * @version 1.0
 * @className MinioCongig1
 * @description TODD
 * @date 2025/3/5 11:02
 */
@Configuration
public class MinioCongig {
    @Bean
    public MinioClient minioClient() {
        return MinioClient.builder()
                .endpoint("http://minio.zhihe1.cn:9000")
                .credentials(" Konw","1562037563@qq.com")
                .build();
    }
}
